using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using clf.weighing.entity;

namespace weighing
{
    public class RolePermissionVo : BaseVo
    {
        #region Constract
        public RolePermission mRolePermission;
        public RolePermissionVo(RolePermission rolePermission)
        {
            mRolePermission = rolePermission;
        }
        #endregion


        /// <summary>
        /// 可空:NO
        /// </summary>

        public Int64 Id { get { return mRolePermission.id; } set { mRolePermission.id = value; OnPropertyChanged(this, nameof(Id)); } }

        /// <summary>
        /// 可空:NO
        /// </summary>

        public Int64 RoleId { get { return mRolePermission.roleId; } set { mRolePermission.roleId = value; OnPropertyChanged(this, nameof(RoleId)); } }

        /// <summary>
        /// 可空:NO
        /// </summary>

        public Int64 PermissionId { get { return mRolePermission.permissionId; } set { mRolePermission.permissionId = value; OnPropertyChanged(this, nameof(PermissionId)); } }

    }
}
